﻿

// =================================================================== 
// Module说明
//====================================================================
// 创建时间：2018-12-17 12:27:32
// 负责人：liucx
// ===================================================================

using System;
using System.Collections.Generic;
using System.ComponentModel;
using OF.Component.Model;
using System.Runtime.Serialization;
namespace OF.Component.Model
{
    #region MessagePool数据实体
    /// <summary>
    ///数据实体  
    /// </summary>
    [Serializable]
    [DataContract]
    public class MessagePoolInfo
    {

        #region 公共属性

        ///<summary>
        ///主键
        ///</summary>
        [Description("主键")]
        public long MessagePoolID
        {
            get; set;
        }

        ///<summary>
        ///接收人
        ///</summary>
        [Description("接收人")]
        public long UserID
        {
            get; set;
        }

        ///<summary>
        ///是否已读
        ///</summary>
        [Description("是否已读")]
        public int IsRead
        {
            get; set;
        }

        ///<summary>
        ///发送状态(1：未发送、2：成功、3：失败)
        ///</summary>
        [Description("发送状态(1：未发送、2：成功、3：失败)")]
        public int MessageStatus
        {
            get; set;
        }

        ///<summary>
        ///发送时间
        ///</summary>
        [Description("发送时间")]
        public DateTime SendDate
        {
            get; set;
        }

        ///<summary>
        ///错误原因
        ///</summary>
        [Description("错误原因")]
        public string ErrorMessage
        {
            get; set;
        }

        ///<summary>
        ///消息ID
        ///</summary>
        [Description("消息ID")]
        public long MessageID
        {
            get; set;
        }

        ///<summary>
        ///
        ///</summary>
        [Description("")]
        public int MessageType
        {
            get; set;
        }

        ///<summary>
        ///
        ///</summary>
        [Description("")]
        public int IsActive
        {
            get; set;
        }

        #endregion

        #region 构造函数
        ///<summary>
        ///
        ///</summary>
        public MessagePoolInfo()
        {
        }

        #endregion
    }
    #endregion
}